$(document).ready(function(){
    //医疗服务下拉菜单显示/隐藏
    $(".medicalService").mouseenter(function () { 
        $(".Medical_menu").css("display","block");
    });
    $(".medicalService").mouseleave(function () { 
        $(".Medical_menu").css("display","none");
    });
     //科室介绍下拉菜单显示/隐藏
    $(".departmentIntroduction").mouseenter(function () { 
        $(".Department_menu").css("display","block");
    });
    $(".departmentIntroduction").mouseleave(function () { 
        $(".Department_menu").css("display","none");
    });
    //诊所分布下拉菜单显示/隐藏
    $(".clinicDistribution").mouseenter(function () { 
        $(".Clinict_menu").css("display","block");
    });
    $(".clinicDistribution").mouseleave(function () { 
        $(".Clinict_menu").css("display","none");
    });

     //全科小图标显隐藏
     $(".bran1").mouseenter(function(){
        $(".img1").attr("src","images/icon_10.png");
        $(".rect1").css("background","#fff");
     });
     $(".bran1").mouseleave(function(){
        $(".img1").attr("src","images/icon_01.png");
        $(".rect1").css("background","#3aa5c5");
     });

     //康复科小图标显隐藏
     $(".bran2").mouseenter(function(){
        $(".img2").attr("src","images/icon_11.png");
        $(".rect2").css("background","#fff");
     });
     $(".bran2").mouseleave(function(){
        $(".img2").attr("src","images/icon_02.png");
        $(".rect2").css("background","#3aa5c5");
     });
     //儿科小图标显隐藏
     $(".bran3").mouseenter(function(){
        $(".img3").attr("src","images/icon_12.png");
        $(".rect3").css("background","#fff");
     });
     $(".bran3").mouseleave(function(){
        $(".img3").attr("src","images/icon_03.png");
        $(".rect3").css("background","#3aa5c5");
     });
     //妇科小图标显隐藏
     $(".bran4").mouseenter(function(){
        $(".img4").attr("src","images/icon_13.png");
        $(".rect4").css("background","#fff");
     });
     $(".bran4").mouseleave(function(){
        $(".img4").attr("src","images/icon_04.png");
        $(".rect4").css("background","#3aa5c5");
     });
     //心血管科小图标显隐藏
     $(".bran5").mouseenter(function(){
        $(".img5").attr("src","images/icon_14.png");
        $(".rect5").css("background","#fff");
     });
     $(".bran5").mouseleave(function(){
        $(".img5").attr("src","images/icon_05.png");
        $(".rect5").css("background","#3aa5c5");
     });
     //神经科小图标显隐藏
     $(".bran6").mouseenter(function(){
        $(".img6").attr("src","images/icon_15.png");
        $(".rect6").css("background","#fff");
     });
     $(".bran6").mouseleave(function(){
        $(".img6").attr("src","images/icon_06.png");
        $(".rect6").css("background","#3aa5c5");
     });
      //肿瘤科小图标显隐藏
      $(".bran7").mouseenter(function(){
        $(".img7").attr("src","images/icon_16.png");
        $(".rect7").css("background","#fff");
     });
     $(".bran7").mouseleave(function(){
        $(".img7").attr("src","images/icon_07.png");
        $(".rect7").css("background","#3aa5c5");
     });
     //中医科小图标显隐藏
     $(".bran8").mouseenter(function(){
        $(".img8").attr("src","images/icon_17.png");
        $(".rect8").css("background","#fff");
     });
     $(".bran8").mouseleave(function(){
        $(".img8").attr("src","images/icon_08.png");
        $(".rect8").css("background","#3aa5c5");
     });


      //开启模态框
    $(".input-time input").focus(function(){
      $(".table-shadow").css("display","block");
    })
    $(".input-time input").blur(function(){
      $(".table-shadow").css("display","none");
    })
});